package com.citytransport.prokopjuk.dao;

import java.util.ArrayList;

import com.citytransport.prokopjuk.route.Route;
import com.citytransport.prokopjuk.vehicleDTO.Vehicle;

public interface IDAORoute {
    void create(Route route);

    Route read(int routeID);
    
    ArrayList<Route> readAllRoutes();
    
    ArrayList<Route> readCertainRoute(String type);
    
    ArrayList<? extends Vehicle> readVehicle(int routeID);

    void update(Route route, int routeID, int intervalMinute, int price);

    void delete(Route route);

    void deleteAllRoutes();
}
